package com.woniu.bh.backstage.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.woniu.bh.backstage.dto.ManagerDto;
import com.woniu.bh.common.core.domain.backstage.Manager;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.Date;
import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author cxb
 * @since 2020-10-13
 */
@Component
public interface ManagerMapper extends BaseMapper<Manager> {
    IPage<ManagerDto> queryPage2(Page page,@Param("managerStatus") Integer managerStatus,@Param("dateAfter")long dateAfter, @Param("dateBefore") long dateBefore);
}
